WOLF core
WOLF: A Modular Estimation Framework for Robotics
XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0" name="MSearchResults" id="MSearchResults">
wolf Namespace Reference

Namespaces

namespace  autodiff
 
namespace  Constants
 
namespace  detail
 
namespace  internal
 
namespace  SE2
 
namespace  SE3
 
namespace  SO2
 

Classes

class  Buffer
 Buffer for arbitrary type objects. More...
 
class  BufferCapture
 Buffer of Captures. More...
 
class  BufferFrame
 Buffer of Frames. More...
 
class  BufferVectorComposite
 Buffer of VectorComposite. More...
 
class  CaptureBase
 Base class of captures: a sensor measurement taken at a time stamp, linked to a frame, with the features extracted from it. It holds the dynamic state blocks of the sensor, if any. More...
 
class  CaptureDiffDrive
 Motion capture of a differential drive robot. It can hold dynamic sensor states 'P', 'O' and 'I'. More...
 
class  CaptureLandmarksExternal
 Capture of the landmark detections provided by an external detector. More...
 
class  CaptureMotion
 Base class for motion Captures. More...
 
class  CaptureOdom2d
 Motion capture of 2d odometry data. More...
 
class  CaptureOdom3d
 Motion capture of 3d odometry data. More...
 
class  CapturePose
 Capture of a measurement of the frame pose (2d or 3d), with its covariance. More...
 
class  CheckLog
 Log of a consistency check: whether it is consistent and the explanation of the inconsistencies. More...
 
class  Composite
 Map of state keys (char) to objects of type T (vectors, matrices, types, priors, ...) More...
 
class  CostFunctionWrapper
 Ceres cost function of a wolf factor (with analytic or automatic Jacobians) More...
 
class  FactorAnalytic
 Base class of factors with analytic Jacobians: derived classes implement the evaluation of the residuals and the Jacobians. More...
 
class  FactorAutodiff
 Base class of factors with automatic differentiation: the Jacobians are computed with jets. More...
 
class  FactorBase
 Base class of factors: a constraint between state blocks of one or more nodes, given a measurement and its noise. More...
 
class  FactorBlockAbsolute
 Absolute factor on a state block, or a segment of it, with analytic Jacobians. Only for euclidean state blocks or StateAngle. More...
 
class  FactorBlockDifference
 Factor on the difference between two state blocks, or segments of them, with analytic Jacobians. Only for euclidean state blocks or StateAngle. More...
 
class  FactorDiffDrive
 Motion factor between two 2d frames, from the pre-integrated motion of a differential drive robot, also constraining its intrinsic parameters. More...
 
class  FactorDistance3d
 Factor on the euclidean distance between the 3d positions of two nodes. More...
 
class  FactorHomogeneous3dAbsolute
 Absolute factor on a 3d point in homogeneous coordinates. More...
 
class  FactorPose2d
 Absolute factor on the 2d pose (P and O) of a node. More...
 
class  FactorPose2dWithExtrinsics
 Absolute factor on the 2d pose of a sensor: the frame pose composed with the sensor extrinsics. More...
 
class  FactorPose3d
 Absolute factor on the 3d pose (P and quaternion O) of a node. More...
 
class  FactorPose3dWithExtrinsics
 Absolute factor on the 3d pose of a sensor: the frame pose composed with the sensor extrinsics. More...
 
class  FactorQuaternionAbsolute
 Absolute factor on a quaternion state block. More...
 
class  FactorQuaternionDifference
 Factor on the difference between two quaternion state blocks, in the tangent space. More...
 
class  FactorRelativePose2d
 Factor on the 2d pose of a target node relative to a reference node, with analytic Jacobians. More...
 
class  FactorRelativePose2dWithExtrinsics
 Factor on the 2d pose of a target (frame or landmark) relative to the sensor of a reference frame. More...
 
class  FactorRelativePose3d
 Factor on the 3d pose of a target node relative to a reference node. More...
 
class  FactorRelativePose3dWithExtrinsics
 Factor on the 3d pose of a target (frame or landmark) relative to the sensor of a reference frame. More...
 
class  FactorRelativePosition2d
 Factor on the 2d position of a target node relative to the pose of a reference node, with analytic Jacobians. More...
 
class  FactorRelativePosition2dWithExtrinsics
 Factor on the 2d position of a landmark relative to the sensor of a reference frame. More...
 
class  FactorRelativePosition3d
 Factor on the 3d position of a target node relative to the pose of a reference node. More...
 
class  FactorRelativePosition3dWithExtrinsics
 Factor on the 3d position of a landmark relative to the sensor of a reference frame. More...
 
class  FactorVelocityLocalDirection3d
 Factor on the direction of the velocity in the local frame, as elevation and azimuth angles. The residual is zero below a minimum velocity. More...
 
class  Factory
 Singleton template factory. More...
 
class  FeatureBase
 Base class of features: a measurement with its uncertainty, extracted from a capture, with the factors it produces. More...
 
class  FeatureDiffDrive
 Motion feature of a differential drive robot. More...
 
class  FeatureLandmarkExternal
 Feature of a landmark detection provided by an external detector, with its external id and type. More...
 
struct  FeatureMatch
 Match between a feature and a feature. More...
 
class  FeatureMotion
 Feature of a pre-integrated motion delta, with the calibration parameters used in the pre-integration and the Jacobian wrt them. More...
 
class  FolderRegistry
 Registry (singleton) of the folders of the plugins, e.g. with their schema files. More...
 
class  FrameBase
 Base class of frames: the states of the robot at a time stamp, in the trajectory, with the captures taken at it. More...
 
class  GraphSearch
 Breadth-first search of the shortest path of factors between two nodes of the factor graph. More...
 
class  HardwareBase
 Hardware: the sensors of the problem. More...
 
class  IterationUpdateCallback
 Ceres iteration callback that stops the solver (after a minimum number of iterations) if the wolf problem changed. More...
 
class  Landmark
 Landmark with a pose: position 'P' and orientation 'O', in 2d or 3d (Landmark2d, Landmark3d) More...
 
class  LandmarkBase
 Base class of landmarks: elements of the map with state blocks, observed from the frames. More...
 
struct  LandmarkDetection
 Detection of a landmark provided by an external detector. More...
 
struct  LandmarkMatch
 Match between a feature and a landmark. More...
 
class  LoadCore
 Helper to load the core library from the plugins (see WOLF_LOAD_CORE) More...
 
class  Loader
 Loader of shared libraries (e.g. wolf plugins) with dlopen. More...
 
class  LocalParametrizationAngle
 Local parametrization of an angle: increments are added and the result wrapped to [-pi, pi]. More...
 
class  LocalParametrizationBase
 Base class of local parametrizations: plus and minus operations of a state with increments in its tangent space. More...
 
class  LocalParametrizationQuaternion
 Local parametrization for quaternions. More...
 
class  ManifoldWrapper
 Ceres manifold of a wolf local parametrization. More...
 
class  MapBase
 Base class of maps: container of the landmarks. More...
 
struct  MatchLoopClosure
 Match between a capture and a capture. More...
 
struct  MatrixSizeCheck
 Checks the size of an Eigen matrix: statically if fixed-size, at run time if dynamic. More...
 
struct  Motion
 Motion of the buffer at a time stamp: the data, the delta and the integrated delta, with their covariances and Jacobians. More...
 
class  MotionBuffer
 Buffer of motions (pre-integrated deltas) of a CaptureMotion. More...
 
class  MotionProvider
 Interface of the processors providing motion: the state at any time stamp (and odometry). If configured as state provider, the problem uses it to get the current state. More...
 
class  NodeBase
 Base class for Nodes. More...
 
class  NodeStateBlocks
 Base class of the nodes having state blocks (sensors, frames, captures and landmarks) More...
 
class  Prior
 Prior of a state: 'initial_guess' (only the initial value), 'fix' (fixed) or 'factor' (absolute factor) More...
 
class  Problem
 Wolf problem: root of the wolf tree (hardware, trajectory and map). It manages the motion providers, the first frame, the keyframe callbacks, the covariances and the notifications to the solver manager. More...
 
class  ProcessorBase
 Base class of processors: they process the captures of a sensor and the keyframes created by other processors, creating features, factors, landmarks and voting for keyframes. More...
 
class  ProcessorDiffDrive
 Motion processor of a differential drive robot: integrates the wheel encoder data, with the wheel radii and separation as calibration parameters. More...
 
class  ProcessorFixedWingModel
 Motion model of a fixed wing aircraft: it emplaces a FactorVelocityLocalDirection3d in each keyframe. More...
 
class  ProcessorLandmarkExternal
 Tracker of the landmark detections provided by an external detector (CaptureLandmarksExternal), emplacing landmarks and their observation factors. More...
 
class  ProcessorLoopClosure
 General loop closure processor. More...
 
class  ProcessorMotion
 Base class of motion processors: they integrate motion data into the robot state. More...
 
class  ProcessorOdom2d
 Motion processor of 2d odometry data: (forward, rotation) or, if omnidirectional, (forward, lateral, rotation) More...
 
class  ProcessorOdom3d
 Processor for 3d odometry integration. More...
 
class  ProcessorPose
 Processor of pose measurements (CapturePose), 2d or 3d: it emplaces an absolute pose factor of the sensor in the keyframe at the capture time stamp. More...
 
class  ProcessorTracker
 General tracker processor. More...
 
class  ProcessorTrackerFeature
 Feature tracker processor. More...
 
class  ProcessorTrackerLandmark
 Landmark tracker processor. More...
 
class  ProfilingUnit
 Profiling of a periodic task: number of calls, duration (accumulated, average, max, std dev) and period. More...
 
class  SensorBase
 Base class of sensors: their state blocks (extrinsics and intrinsics, static or dynamic), parameters and noise model, and the processors processing their captures. More...
 
class  SensorDiffDrive
 Wheel encoders of a differential drive robot. Intrinsics 'I': left and right wheel radius and wheel separation. More...
 
class  SensorMotionModel
 Sensor without state blocks, for processors implementing motion models. It has no noise model. More...
 
class  SensorOdom
 Odometry sensor, 2d or 3d (SensorOdom2d, SensorOdom3d), with a noise model proportional to the motion. More...
 
class  SensorPose
 Sensor measuring its pose, 2d or 3d (SensorPose2d, SensorPose3d) More...
 
class  SolverCeres
 Solver manager using Ceres Solver. More...
 
class  SolverEigen
 Gauss-Newton solver using sparse linear solvers through Eigen (no ceres dependency) More...
 
class  SolverManager
 Solver manager for WOLF. More...
 
class  StateAngle
 State block of an angle (2D orientation), wrapped to [-pi, pi]. More...
 
class  StateBlock
 State block: a state vector of a variable of the nonlinear optimization. More...
 
class  StateHomogeneous3d
 State block of a 3D point in homogeneous coordinates (x, y, z, w) More...
 
class  StateParams
 State block for general parameters. More...
 
class  StatePoint2d
 State block for general 2D points and positions. More...
 
class  StatePoint3d
 State block for general 3D points and positions. More...
 
class  StateQuaternion
 State block of a unit quaternion (3D orientation), stored as (x, y, z, w) More...
 
class  StateVector2d
 State block for general 2D vectors. More...
 
class  StateVector3d
 State block for general 3D vectors. More...
 
struct  StaticSizeCheck
 Static assertion of the size of a fixed-size Eigen matrix (see MatrixSizeCheck) More...
 
struct  StaticSizeCheck< Eigen::Dynamic, DesiredSize >
 Specialization for dynamic-size Eigen matrices: the size is asserted at run time. More...
 
class  TimeStamp
 TimeStamp implements basic functionalities for time stamps. More...
 
class  TrackMatrix
 Matrix of tracked features, by track and by snapshot (Captures or time stamps) This class implements the following data structure: More...
 
class  TrajectoryBase
 Trajectory: the frames of the problem, ordered by time stamp. More...
 
class  TreeManagerBase
 Base class of tree managers: they manage the wolf tree (e.g. removing or fixing frames) at each new keyframe. More...
 
class  TreeManagerSlidingWindow
 Tree manager keeping a sliding window of the last keyframes: the oldest is removed and the first ones of the window are fixed. More...
 
class  TreeManagerSlidingWindowDualRate
 Sliding window with two rates: all the recent keyframes are kept, and only one of each rate_old_frames_ in the older part (merging the motion captures of the removed ones) More...
 
class  VectorComposite
 Composite of state vectors. More...
 

Typedefs

using ManifoldWrapperPtr = std::shared_ptr< ManifoldWrapper >
 
typedef EIGEN_DEFAULT_DENSE_INDEX_TYPE SizeEigen
 Vector and Matrices size type for the Wolf project. More...
 
typedef std::size_t SizeStd
 Other containers size type for the Wolf project. More...
 
typedef std::map< TimeStamp, FrameBasePtr > FramePtrMap
 
typedef std::map< TimeStamp, FrameBaseConstPtr > FrameConstPtrMap
 
typedef std::string StateKeys
 
typedef Composite< bool > BoolComposite
 
typedef Composite< Prior > PriorComposite
 
typedef Composite< std::string > TypeComposite
 
typedef std::map< FeatureBasePtr, FeatureMatchPtr > FeatureMatchMap
 Map of feature matches. More...
 
typedef Factory< LandmarkBasePtr, const YAML::Node &, const std::vector< std::string > & > FactoryLandmark
 
typedef Landmark< 2 > Landmark2d
 
typedef Landmark< 3 > Landmark3d
 
typedef std::map< FeatureBasePtr, LandmarkMatchPtr > LandmarkMatchMap
 
typedef Factory< MapBasePtr, const YAML::Node &, const std::vector< std::string > & > FactoryMapNode
 
typedef Factory< MapBasePtr, const std::string &, const std::vector< std::string > & > FactoryMapFile
 
typedef Factory< ProcessorBasePtr, const YAML::Node &, const std::vector< std::string > & > FactoryProcessorNode
 Processor factories classes. More...
 
typedef Factory< ProcessorBasePtr, const std::string &, const std::vector< std::string > & > FactoryProcessorYaml
 
typedef ProcessorPose< 2 > ProcessorPose2d
 
typedef ProcessorPose< 3 > ProcessorPose3d
 
typedef map< TimeStamp, FeatureBasePtr > Track
 
typedef map< TimeStamp, FeatureBaseConstPtr > TrackConst
 
typedef map< SizeStd, FeatureBasePtr > Snapshot
 
typedef map< SizeStd, FeatureBaseConstPtr > SnapshotConst
 
typedef map< SizeStd, pair< FeatureBasePtr, FeatureBasePtr > > TrackMatches
 
typedef map< SizeStd, pair< FeatureBaseConstPtr, FeatureBaseConstPtr > > TrackMatchesConst
 
typedef Factory< SensorBasePtr, const YAML::Node &, const std::vector< std::string > & > FactorySensorNode
 Sensor factories classes. More...
 
typedef Factory< SensorBasePtr, const std::string &, const std::vector< std::string > & > FactorySensorFile
 
typedef SensorOdom< 2 > SensorOdom2d
 
typedef SensorOdom< 3 > SensorOdom3d
 
typedef SensorPose< 2 > SensorPose2d
 
typedef SensorPose< 3 > SensorPose3d
 
typedef Factory< std::shared_ptr< SolverManager >, const ProblemPtr &, const YAML::Node &, const std::vector< std::string > & > FactorySolverNode
 Solver factory class. More...
 
typedef Factory< std::shared_ptr< SolverManager >, const ProblemPtr &, const std::string &, const std::vector< std::string > & > FactorySolverFile
 
typedef Factory< std::shared_ptr< StateBlock >, const Eigen::VectorXd &, bool > FactoryStateBlock
 StateBlock factory class. More...
 
typedef Factory< std::shared_ptr< StateBlock >, bool > FactoryStateBlockIdentity
 
typedef Factory< Eigen::VectorXd > FactoryStateBlockIdentityVector
 
typedef LocalParametrizationQuaternion< DQ_LOCAL > LocalParametrizationHomogeneous
 Local parametrization for homogeneous vectors is equivalent to quaternion local parametrization. More...
 
typedef LocalParametrizationQuaternion< DQ_GLOBAL > LocalParametrizationQuaternionGlobal
 
typedef LocalParametrizationQuaternion< DQ_LOCAL > LocalParametrizationQuaternionLocal
 
typedef StateParams< 1 > StateParams1
 
typedef StateParams< 2 > StateParams2
 
typedef StateParams< 3 > StateParams3
 
typedef StateParams< 4 > StateParams4
 
typedef StateParams< 5 > StateParams5
 
typedef StateParams< 6 > StateParams6
 
typedef StateParams< 7 > StateParams7
 
typedef StateParams< 8 > StateParams8
 
typedef StateParams< 9 > StateParams9
 
typedef StateParams< 10 > StateParams10
 
typedef StateParams< 11 > StateParams11
 
typedef StateParams< 12 > StateParams12
 
typedef StateParams< 13 > StateParams13
 
typedef StateParams< 14 > StateParams14
 
typedef StateParams< 15 > StateParams15
 
typedef StateParams< 16 > StateParams16
 
typedef StateParams< 17 > StateParams17
 
typedef StateParams< 18 > StateParams18
 
typedef StateParams< 19 > StateParams19
 
typedef StateParams< 20 > StateParams20
 
typedef Factory< std::shared_ptr< TreeManagerBase >, const YAML::Node &, const std::vector< std::string > & > FactoryTreeManagerNode
 
typedef Factory< std::shared_ptr< TreeManagerBase >, const std::string &, const std::vector< std::string > & > FactoryTreeManagerFile
 
typedef std::shared_ptr< Loader > LoaderPtr
 

Enumerations

enum  FactorStatus { FAC_INACTIVE = 0 , FAC_ACTIVE = 1 }
 Enumeration of factor status. More...
 
enum  FactorTopology {
  TOP_ABS , TOP_MOTION , TOP_LOOP , TOP_LMK ,
  TOP_GEOM , TOP_OTHER
}
 Enumeration of factor topologies. More...
 
enum  JacobianMethod { JAC_AUTO = 1 , JAC_ANALYTIC = 2 }
 Enumeration of jacobian computation method. More...
 
enum  Notification { ADD , REMOVE }
 Type of notification of state blocks and factors to the solver manager. More...
 
enum  QuaternionDeltaReference { DQ_LOCAL , DQ_GLOBAL }
 Local or global orientation error. More...
 

Functions

 WOLF_PTR_TYPEDEFS (CaptureLandmarksExternal)
 
 WOLF_PTR_TYPEDEFS (CaptureMotion)
 
 WOLF_PTR_TYPEDEFS (CaptureOdom2d)
 
 WOLF_PTR_TYPEDEFS (CaptureOdom3d)
 
 WOLF_PTR_TYPEDEFS (CapturePose)
 
 WOLF_PTR_TYPEDEFS (CostFunctionWrapper)
 
 WOLF_PTR_TYPEDEFS (SolverCeres)
 
 WOLF_PTR_TYPEDEFS (ManifoldWrapper)
 
 WOLF_PTR_TYPEDEFS (NodeBase)
 
 WOLF_PTR_TYPEDEFS (NodeStateBlocks)
 
 WOLF_PTR_TYPEDEFS (Problem)
 
 WOLF_PTR_TYPEDEFS (TreeManagerBase)
 
 WOLF_PTR_TYPEDEFS (HardwareBase)
 
 WOLF_PTR_TYPEDEFS (SensorBase)
 
 WOLF_PTR_TYPEDEFS (ProcessorBase)
 
 WOLF_PTR_TYPEDEFS (ProcessorMotion)
 
 WOLF_PTR_TYPEDEFS (TrajectoryBase)
 
 WOLF_PTR_TYPEDEFS (FrameBase)
 
 WOLF_PTR_TYPEDEFS (CaptureBase)
 
 WOLF_PTR_TYPEDEFS (FeatureBase)
 
 WOLF_PTR_TYPEDEFS (FactorBase)
 
 WOLF_PTR_TYPEDEFS (MapBase)
 
 WOLF_PTR_TYPEDEFS (LandmarkBase)
 
 WOLF_PTR_TYPEDEFS (StateBlock)
 
 WOLF_PTR_TYPEDEFS (StatePoint2d)
 
 WOLF_PTR_TYPEDEFS (StatePoint3d)
 
 WOLF_PTR_TYPEDEFS (StateAngle)
 
 WOLF_PTR_TYPEDEFS (StateQuaternion)
 
 WOLF_PTR_TYPEDEFS (LocalParametrizationBase)
 
bool file_exists (const std::string &_name)
 Returns whether a file exists. More...
 
const Eigen::Vector3d gravity (void)
 Returns the gravity vector [0, 0, -9.806] (m/s²) More...
 
 WOLF_REGISTER_FOLDER ("core", _WOLF_SCHEMA_DIR)
 
StateKeys keysUnion (const StateKeys &_keys1, const StateKeys &_keys2)
 Union of two sets of keys: the keys of _keys1 followed by the keys of _keys2 not in _keys1 (no duplicates) Note: 'union' is a C++ keyword. More...
 
StateKeys keysIntersection (const StateKeys &_keys1, const StateKeys &_keys2)
 Intersection of two sets of keys: the keys of _keys1 that are also in _keys2, in the order of _keys1 (no duplicates) More...
 
void checkTypeComposite (const TypeComposite &_types, SizeEigen _dim=0)
 Checks the state types of the keys 'P', 'O' and 'V' for the dimension (2 or 3; either of them if 0). Throws if wrong. More...
 
bool isTypeCompositeValid (const TypeComposite &_types, SizeEigen _dim=0)
 Returns whether the state types of the keys 'P', 'O' and 'V' are valid for the dimension (see checkTypeComposite()) More...
 
 WOLF_PTR_TYPEDEFS (FactorAnalytic)
 
 WOLF_PTR_TYPEDEFS (FactorBlockAbsolute)
 
 WOLF_PTR_TYPEDEFS (FactorBlockDifference)
 
 WOLF_PTR_TYPEDEFS (FactorDiffDrive)
 
 WOLF_PTR_TYPEDEFS (FactorDistance3d)
 
 WOLF_PTR_TYPEDEFS (FactorHomogeneous3dAbsolute)
 
 WOLF_PTR_TYPEDEFS (FactorPose2d)
 
 WOLF_PTR_TYPEDEFS (FactorPose2dWithExtrinsics)
 
 WOLF_PTR_TYPEDEFS (FactorPose3d)
 
 WOLF_PTR_TYPEDEFS (FactorPose3dWithExtrinsics)
 
 WOLF_PTR_TYPEDEFS (FactorQuaternionAbsolute)
 
 WOLF_PTR_TYPEDEFS (FactorQuaternionDifference)
 
 WOLF_PTR_TYPEDEFS (FactorRelativePose2d)
 
 WOLF_PTR_TYPEDEFS (FactorRelativePose2dWithExtrinsics)
 
 WOLF_PTR_TYPEDEFS (FactorRelativePose3d)
 
 WOLF_PTR_TYPEDEFS (FactorRelativePose3dWithExtrinsics)
 
 WOLF_PTR_TYPEDEFS (FactorRelativePosition2d)
 
 WOLF_PTR_TYPEDEFS (FactorRelativePosition2dWithExtrinsics)
 
 WOLF_PTR_TYPEDEFS (FactorRelativePosition3d)
 
 WOLF_PTR_TYPEDEFS (FactorRelativePosition3dWithExtrinsics)
 
 WOLF_PTR_TYPEDEFS (FactorVelocityLocalDirection3d)
 
 WOLF_PTR_TYPEDEFS (FeatureLandmarkExternal)
 
 WOLF_STRUCT_PTR_TYPEDEFS (FeatureMatch)
 
 WOLF_PTR_TYPEDEFS (FeatureMotion)
 
 WOLF_DECLARED_PTR_TYPEDEFS (Landmark2d)
 
 WOLF_DECLARED_PTR_TYPEDEFS (Landmark3d)
 
 WOLF_STRUCT_PTR_TYPEDEFS (LandmarkMatch)
 
template<typename T , int N, int RC>
bool isSymmetric (const Eigen::Matrix< T, N, N, RC > &M, const T eps=wolf::Constants::EPS)
 Returns whether a matrix is square and symmetric (up to eps) More...
 
template<typename T , int N, int RC>
bool isPositiveSemiDefinite (const Eigen::Matrix< T, N, N, RC > &M, const T &eps=Constants::EPS)
 Returns whether all the eigenvalues of a symmetric matrix are greater or equal than eps. More...
 
template<typename T , int N, int RC>
bool isCovariance (const Eigen::Matrix< T, N, N, RC > &M, const T &eps=Constants::EPS)
 Returns whether a matrix is a covariance: symmetric and positive semi-definite. More...
 
template<typename T , int N, int RC>
bool makePosDef (Eigen::Matrix< T, N, N, RC > &M, const T &eps=Constants::EPS)
 Makes a symmetric matrix positive definite, raising its eigenvalues below eps. Returns whether it was modified. More...
 
Eigen::MatrixXd computeSqrtUpper (const Eigen::MatrixXd &_info)
 Computes the upper triangular square root R of an information matrix (Ráµ€R = info), with an eigen decomposition (not triangular) if the Cholesky factorization fails. More...
 
template<typename D1 >
Eigen::Transform< typename D1::Scalar, 2, Eigen::Isometry > toIsometry2d (const Eigen::MatrixBase< D1 > &translation, const double &rotation)
 Isometry 2d from a translation and an angle. More...
 
template<typename D1 , typename D2 >
Eigen::Transform< typename D1::Scalar, 2, Eigen::Isometry > toIsometry2d (const Eigen::MatrixBase< D1 > &translation, const Eigen::MatrixBase< D2 > &rotation)
 Isometry 2d from a translation and an angle as a 1-vector. More...
 
template<typename D1 >
Eigen::Transform< typename D1::Scalar, 2, Eigen::Isometry > toIsometry2d (const Eigen::MatrixBase< D1 > &trf)
 Isometry 2d from a pose 3-vector [x, y, theta]. More...
 
Eigen::Isometry2d toIsometry2d (const VectorComposite &trf)
 Isometry 2d from a pose VectorComposite with keys 'P' and 'O'. More...
 
template<typename D1 , typename D2 >
Eigen::Transform< typename D1::Scalar, 3, Eigen::Isometry > toIsometry3d (const Eigen::MatrixBase< D1 > &translation, const Eigen::QuaternionBase< D2 > &rotation)
 Isometry 3d from a translation and a quaternion. More...
 
template<typename D1 , typename D2 >
Eigen::Transform< typename D1::Scalar, 3, Eigen::Isometry > toIsometry3d (const Eigen::MatrixBase< D1 > &translation, const Eigen::MatrixBase< D2 > &rotation)
 Isometry 3d from a translation and a quaternion 4-vector [x, y, z, w] (normalized) More...
 
template<typename D1 >
Eigen::Transform< typename D1::Scalar, 3, Eigen::Isometry > toIsometry3d (const Eigen::MatrixBase< D1 > &trf)
 Isometry 3d from a pose 7-vector [x, y, z, qx, qy, qz, qw]. More...
 
Eigen::Isometry3d toIsometry3d (const VectorComposite &trf)
 Isometry 3d from a pose VectorComposite with keys 'P' and 'O'. More...
 
Eigen::Vector3d toVector (const Eigen::Isometry2d &trf)
 Pose 3-vector [x, y, theta] of an isometry 2d. More...
 
Eigen::Vector7d toVector (const Eigen::Isometry3d &trf)
 Pose 7-vector [x, y, z, qx, qy, qz, qw] of an isometry 3d. More...
 
Eigen::Isometry3d inverseProjectTo3d (const Eigen::Isometry2d &trf_2d)
 Isometry 3d of an isometry 2d: in the plane z = 0, rotating about the z axis. More...
 
Eigen::Isometry2d projectTo2d (const Eigen::Isometry3d &trf_3d)
 Isometry 2d of an isometry 3d: its x, y translation and its yaw. More...
 
template<typename T >
T pi2pi (const T &_angle)
 Returns the angle wrapped to [-pi, pi]. More...
 
template<typename T >
T toRad (const T deg)
 Conversion to radians. More...
 
template<typename T >
T toDeg (const T rad)
 Conversion to degrees. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > skew (const Eigen::MatrixBase< Derived > &_v)
 Skew symmetric matrix. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > vee (const Eigen::MatrixBase< Derived > &_m)
 Inverse of skew symmetric matrix. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > q2R (const Eigen::QuaternionBase< Derived > &_q)
 Quaternion to rotation matrix conversion. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > q2R (const Eigen::MatrixBase< Derived > &_q)
 Quaternion to rotation matrix conversion. More...
 
template<typename Derived >
Eigen::Quaternion< typename Derived::Scalar > R2q (const Eigen::MatrixBase< Derived > &_R)
 Rotation matrix to quaternion conversion. More...
 
template<typename D >
Eigen::Quaternion< typename D::Scalar > e2q (const Eigen::MatrixBase< D > &_euler)
 Euler angles to quaternion. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > e2R (const Eigen::MatrixBase< Derived > &_e)
 Euler angles to rotation matrix. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > R2e (const Eigen::MatrixBase< Derived > &_R)
 Euler angles (roll, pitch, yaw) of a rotation matrix. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > q2e (const Eigen::MatrixBase< Derived > &_q)
 Euler angles (roll, pitch, yaw) of a quaternion given as a 4-vector [x, y, z, w]. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > q2e (const Eigen::QuaternionBase< Derived > &_q)
 Euler angles (roll, pitch, yaw) of a quaternion. More...
 
template<typename Derived >
Eigen::MatrixBase< Derived >::Scalar getYaw (const Eigen::MatrixBase< Derived > &_M)
 Yaw angle of a rotation matrix or of a quaternion given as a 4-vector [x, y, z, w]. More...
 
template<typename Derived >
Eigen::QuaternionBase< Derived >::Scalar getYaw (const Eigen::QuaternionBase< Derived > &_q)
 Yaw angle of a quaternion. More...
 
template<typename Derived >
Eigen::Quaternion< typename Derived::Scalar > exp_q (const Eigen::MatrixBase< Derived > &_v)
 Quaternion exponential map. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > log_q (const Eigen::QuaternionBase< Derived > &_q)
 Quaternion logarithmic map. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > exp_R (const Eigen::MatrixBase< Derived > &_v)
 Rotation matrix exponential map. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > log_R (const Eigen::MatrixBase< Derived > &_R)
 Rotation matrix logarithmic map. More...
 
template<typename Derived >
Eigen::Quaternion< typename Derived::Scalar > v2q (const Eigen::MatrixBase< Derived > &_v)
 Rotation vector to quaternion conversion. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > q2v (const Eigen::QuaternionBase< Derived > &_q)
 Quaternion to rotation vector conversion. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > v2R (const Eigen::MatrixBase< Derived > &_v)
 Rotation vector to rotation matrix conversion. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > R2v (const Eigen::MatrixBase< Derived > &_R)
 Rotation matrix to rotation vector conversion. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > jac_SO3_right (const Eigen::MatrixBase< Derived > &_theta)
 Computes Jr (Right Jacobian) Right Jacobian for exp map in SO(3) - equation (10.86) and following equations in G.S. Chirikjian, "Stochastic Models, Information Theory, and Lie Groups", Volume 2, 2008. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > jac_SO3_right_inv (const Eigen::MatrixBase< Derived > &_theta)
 Computes Jrinv (inverse of Right Jacobian which corresponds to the jacobian of log) Right Jacobian for Log map in SO(3) - equation (10.86) and following equations in G.S. Chirikjian, "Stochastic Models, Information Theory, and Lie Groups", Volume 2, 2008. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > jac_SO3_left (const Eigen::MatrixBase< Derived > &_theta)
 Computes Jl (Left Jacobian) Left Jacobian for exp map in SO(3) - equation (10.86) and following equations in G.S. Chirikjian, "Stochastic Models, Information Theory, and Lie Groups", Volume 2, 2008. More...
 
template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > jac_SO3_left_inv (const Eigen::MatrixBase< Derived > &_theta)
 Computes Jl_inv (inverse of Left Jacobian which corresponds to the jacobian of log) Left Jacobian for Log map in SO(3) - equation (10.86) and following equations in G.S. Chirikjian, "Stochastic Models, Information Theory, and Lie Groups", Volume 2, 2008. More...
 
template<typename D1 , typename D2 , typename D3 , typename D4 , typename D5 >
void compose (const Eigen::QuaternionBase< D1 > &_q1, const Eigen::QuaternionBase< D2 > &_q2, Eigen::QuaternionBase< D3 > &_q_comp, Eigen::MatrixBase< D4 > &_J_comp_q1, Eigen::MatrixBase< D5 > &_J_comp_q2)
 Composition of two quaternions q1 * q2, with the Jacobians wrt local (right) perturbations. More...
 
template<typename D1 , typename D2 , typename D3 , typename D4 , typename D5 >
void between (const Eigen::QuaternionBase< D1 > &_q1, const Eigen::QuaternionBase< D2 > &_q2, Eigen::QuaternionBase< D3 > &_q_between, Eigen::MatrixBase< D4 > &_J_between_q1, Eigen::MatrixBase< D5 > &_J_between_q2)
 Quaternion between two quaternions q1.conj * q2, with the Jacobians wrt local (right) perturbations. More...
 
template<typename D1 , typename D2 >
Eigen::Quaternion< typename D1::Scalar > plus_right (const Eigen::QuaternionBase< D1 > &q, const Eigen::MatrixBase< D2 > &v)
 Right plus: q * exp_q(v) More...
 
template<typename D1 , typename D2 >
Eigen::Matrix< typename D2::Scalar, 3, 1 > minus_right (const Eigen::QuaternionBase< D1 > &q1, const Eigen::QuaternionBase< D2 > &q2)
 Right minus: log_q(q1.conj * q2) More...
 
template<typename D1 , typename D2 >
Eigen::Quaternion< typename D1::Scalar > plus_left (const Eigen::MatrixBase< D2 > &v, const Eigen::QuaternionBase< D1 > &q)
 Left plus: exp_q(v) * q. More...
 
template<typename D1 , typename D2 >
Eigen::Matrix< typename D2::Scalar, 3, 1 > minus_left (const Eigen::QuaternionBase< D1 > &q1, const Eigen::QuaternionBase< D2 > &q2)
 Left minus: log_q(q2 * q1.conj) More...
 
template<typename D1 , typename D2 >
Eigen::Quaternion< typename D1::Scalar > plus (const Eigen::QuaternionBase< D1 > &q, const Eigen::MatrixBase< D2 > &v)
 Plus (right plus): q * exp_q(v) More...
 
template<typename D1 , typename D2 >
Eigen::Matrix< typename D2::Scalar, 3, 1 > minus (const Eigen::QuaternionBase< D1 > &q1, const Eigen::QuaternionBase< D2 > &q2)
 Minus (right minus): log_q(q1.conj * q2) More...
 
template<typename D1 , typename D2 >
Eigen::Matrix< typename D2::Scalar, 3, 1 > diff (const Eigen::QuaternionBase< D1 > &q1, const Eigen::QuaternionBase< D2 > &q2)
 Difference (right minus): log_q(q1.conj * q2) More...
 
 WOLF_PTR_TYPEDEFS (MotionProvider)
 
 WOLF_PTR_TYPEDEFS (ProcessorDiffDrive)
 
 WOLF_PTR_TYPEDEFS (ProcessorFixedWingModel)
 
 WOLF_PTR_TYPEDEFS (ProcessorLandmarkExternal)
 
 WOLF_STRUCT_PTR_TYPEDEFS (MatchLoopClosure)
 
 WOLF_PTR_TYPEDEFS (ProcessorOdom2d)
 
 WOLF_PTR_TYPEDEFS (ProcessorOdom3d)
 
 WOLF_DECLARED_PTR_TYPEDEFS (ProcessorPose2d)
 
 WOLF_DECLARED_PTR_TYPEDEFS (ProcessorPose3d)
 
 WOLF_PTR_TYPEDEFS (ProcessorTracker)
 
 WOLF_PTR_TYPEDEFS (ProcessorTrackerFeature)
 
 WOLF_PTR_TYPEDEFS (ProcessorTrackerLandmark)
 
 WOLF_PTR_TYPEDEFS (SensorDiffDrive)
 
 WOLF_PTR_TYPEDEFS (SensorMotionModel)
 
 WOLF_DECLARED_PTR_TYPEDEFS (SensorOdom2d)
 
 WOLF_DECLARED_PTR_TYPEDEFS (SensorOdom3d)
 
 WOLF_DECLARED_PTR_TYPEDEFS (SensorPose2d)
 
 WOLF_DECLARED_PTR_TYPEDEFS (SensorPose3d)
 
 WOLF_PTR_TYPEDEFS (SolverEigen)
 
std::string dateTimeNow ()
 Returns the current date and time as "dd/mm/YYYY at HH:MM:SS". More...
 
void insertSparseBlock (const Eigen::MatrixXd &ins, Eigen::SparseMatrixd &original, const unsigned int &row, const unsigned int &col)
 
std::ostream & operator<< (std::ostream &os, const TimeStamp &_ts)
 
std::ostream & operator<< (std::ostream &_os, const wolf::Prior &_x)
 
std::ostream & operator<< (std::ostream &_os, const wolf::VectorComposite &_x)
 
 WOLF_REGISTER_LANDMARK (Landmark2d)
 
 WOLF_REGISTER_LANDMARK (Landmark3d)
 
 WOLF_REGISTER_MAP (MapBase)
 
 WOLF_REGISTER_PROCESSOR (ProcessorDiffDrive)
 
 WOLF_REGISTER_PROCESSOR (ProcessorFixedWingModel)
 
 WOLF_REGISTER_PROCESSOR (ProcessorOdom2d)
 
 WOLF_REGISTER_PROCESSOR (ProcessorOdom3d)
 
 WOLF_REGISTER_PROCESSOR (ProcessorPose2d)
 
 WOLF_REGISTER_PROCESSOR (ProcessorPose3d)
 
 WOLF_REGISTER_SENSOR (SensorDiffDrive)
 
 WOLF_REGISTER_SENSOR (SensorMotionModel)
 
 WOLF_REGISTER_SENSOR (SensorOdom2d)
 
 WOLF_REGISTER_SENSOR (SensorOdom3d)
 
 WOLF_REGISTER_SENSOR (SensorPose2d)
 
 WOLF_REGISTER_SENSOR (SensorPose3d)
 
static std::string stringPrintf (const char *format,...)
 
static double secondsSince (const std::chrono::steady_clock::time_point &_t)
 
 WOLF_REGISTER_STATEBLOCK (StateQuaternion)
 
 WOLF_REGISTER_STATEBLOCK (StateAngle)
 
 WOLF_REGISTER_STATEBLOCK (StateHomogeneous3d)
 
 WOLF_REGISTER_STATEBLOCK (StatePoint2d)
 
 WOLF_REGISTER_STATEBLOCK (StateVector2d)
 
 WOLF_REGISTER_STATEBLOCK (StatePoint3d)
 
 WOLF_REGISTER_STATEBLOCK (StateVector3d)
 
 WOLF_REGISTER_STATEBLOCK (StateParams1)
 
 WOLF_REGISTER_STATEBLOCK (StateParams2)
 
 WOLF_REGISTER_STATEBLOCK (StateParams3)
 
 WOLF_REGISTER_STATEBLOCK (StateParams4)
 
 WOLF_REGISTER_STATEBLOCK (StateParams5)
 
 WOLF_REGISTER_STATEBLOCK (StateParams6)
 
 WOLF_REGISTER_STATEBLOCK (StateParams7)
 
 WOLF_REGISTER_STATEBLOCK (StateParams8)
 
 WOLF_REGISTER_STATEBLOCK (StateParams9)
 
 WOLF_REGISTER_STATEBLOCK (StateParams10)
 
 WOLF_REGISTER_STATEBLOCK (StateParams11)
 
 WOLF_REGISTER_STATEBLOCK (StateParams12)
 
 WOLF_REGISTER_STATEBLOCK (StateParams13)
 
 WOLF_REGISTER_STATEBLOCK (StateParams14)
 
 WOLF_REGISTER_STATEBLOCK (StateParams15)
 
 WOLF_REGISTER_STATEBLOCK (StateParams16)
 
 WOLF_REGISTER_STATEBLOCK (StateParams17)
 
 WOLF_REGISTER_STATEBLOCK (StateParams18)
 
 WOLF_REGISTER_STATEBLOCK (StateParams19)
 
 WOLF_REGISTER_STATEBLOCK (StateParams20)
 
 WOLF_REGISTER_TREE_MANAGER (TreeManagerSlidingWindow)
 
 WOLF_REGISTER_TREE_MANAGER (TreeManagerSlidingWindowDualRate)
 

Variables

static std::string ALL_KEYS = " "
 
static constexpr unsigned int NO_ROW = std::numeric_limits<unsigned int>::max()
 
static constexpr double cauchy_a2 = 0.5 * 0.5
 
static constexpr unsigned int max_step_halvings = 10
 

Typedef Documentation

◆ BoolComposite

◆ FactoryLandmark

typedef Factory<LandmarkBasePtr, const YAML::Node&, const std::vector<std::string>&> wolf::FactoryLandmark

◆ FactoryMapFile

typedef Factory<MapBasePtr, const std::string&, const std::vector<std::string>&> wolf::FactoryMapFile

◆ FactoryMapNode

typedef Factory<MapBasePtr, const YAML::Node&, const std::vector<std::string>&> wolf::FactoryMapNode

◆ FactoryProcessorNode

typedef Factory<ProcessorBasePtr, const YAML::Node&, const std::vector<std::string>&> wolf::FactoryProcessorNode

Processor factories classes.

These factories can create objects of classes deriving from ProcessorBase.

Specific object creation is invoked by create(TYPE, params ... ), and the TYPE of Processor is identified with a string. Currently, the following Processor types are implemented,

among others.

There are two factories, from a YAML file and from a YAML node with the following objectives:

  • The creator from YAML file validates the YAML params before creating the object.
  • The creator from YAML node only validates the YAML params if the _schema_folders vector is not empty.

Validation of YAML params is performed via yaml_schema_cpp library, the schema file (with the name of the class) will be recursively searched in the folders provided in _schema_folders vector.

Find general Factory documentation in class Factory:

  • Access the factory
  • Register/unregister creators
  • Invoke object creation

This documentation shows you how to use the FactoryProcessorNode specifically:

  • Write processor creators.
  • Create processors

Write processor creators

Processor creators have the following API:

\code
static ProcessorBasePtr create(const YAML::Node& _yaml_node,
                               const std::vector<std::string>& _folders_schema);
static ProcessorBasePtr create(const std::string& _yaml_filepath,
                               const std::vector<std::string>& _folders_schema);
\endcode

They follow the general implementations shown below (example for class ProcessorDiffDrive):

\code
static ProcessorBasePtr create(const YAML::Node& _input_node,
                               const std::vector<std::string>& _folders_schema={})
{
    // validate the _input_node if provided folders where to find the schema file
    if (not _folders_schema.empty())
    {
        auto server = yaml_schema_cpp::YamlServer(_folders_schema);
        server.setYaml(_input_node);
        if (not server.applySchema("ProcessorDiffDrive"))
        {
            WOLF_ERROR(server.getLog());
            return nullptr;
        }
    }
    // Do create the Processor object
    return std::make_shared<ProcessorDiffDrive>(params);
}
static ProcessorBasePtr create(const std::string& _yaml_filepath,
                               const std::vector<std::string>& _folders_schema)
{
    // parse the yaml file
    auto server = yaml_schema_cpp::YamlServer(_folders_schema, _yaml_filepath);
    // Check that the yaml has all necessary information
    if (not server.applySchema("ProcessorDiffDrive"))
    {
        WOLF_ERROR(server.getLog());
        return nullptr;
    }
    // Do create the Processor object (calling the previous creator)
    return create(server.getNode(), {});
}
\endcode

Creating processors

Note: Prior to invoking the creation of a processor of a particular type, you must register the creator for this type into the factory.

To create e.g. a ProcessorDiffDrive, you type:

\code
auto proc_diff_drive_ptr = FactoryProcessorNode::create("ProcessorDiffDrive", yaml_node, schema_folders_vector);
\endcode

or:

\code
auto proc_diff_drive_ptr = FactoryProcessorYaml::create("ProcessorDiffDrive",
                                                        "path_of_params_file.yaml",
                                                        schema_folders_vector);
\endcode

where ABSOLUTELY ALL input parameters are important. DO NOT USE IT WITH DUMMY PARAMETERS!

We RECOMMEND using the macro WOLF_PROCESSOR_CREATE(ProcessorClass) to automatically generate the processor creators, provided in 'processor_base.h'.

To do so, you should implement a constructor with the API:

\code
ProcessorDerived(const YAML::Node& _params)
\endcode

In case of processors templated to the dimension of the problem (non-type template), there is also the WOLF_PROCESSOR_TEMPLATE_DIM_CREATE(ProcessorDerived, DIM). See processor_pose.h for an example.

Registering processor creator into the factory

Registration can be done manually or automatically. It involves the call to static functions. It is advisable to put these calls within unnamed namespaces.

  • Manual registration: you control registration at application level. Put the code either at global scope (you must define a dummy variable for this),
    namespace {
    const bool registered_proc_diff_drive_node = FactoryProcessorNode::registerCreator("ProcessorDiffDrive",
    ProcessorDiffDrive::create);
    }
    namespace {
    const bool registered_proc_diff_drive_file = FactoryProcessorYaml::registerCreator("ProcessorDiffDrive",
    ProcessorDiffDrive::create);
    }
    main () { ... }
    static bool registerCreator(const std::string &_type, CreatorCallback createFn)
    Registers the creator of a type. Throws if a different creator is already registered for it.
    Definition: factory.h:322
    or inside your main(), where a direct call is possible:
    main () {
    FactoryProcessorNode::registerCreator("ProcessorDiffDrive", ProcessorDiffDrive::create);
    FactoryProcessorYaml::registerCreator("ProcessorDiffDrive", ProcessorDiffDrive::create);
    ...
    }
  • Automatic registration: registration is performed at library level. Put the code at the last line of the processor_xxx.cpp file,
    namespace {
    const bool registered_proc_diff_drive_node = FactoryProcessorNode::registerCreator("ProcessorDiffDrive",
    ProcessorDiffDrive::create);
    const bool registered_proc_diff_drive_file = FactoryProcessorYaml::registerCreator("ProcessorDiffDrive",
    ProcessorDiffDrive::create);
    }
    Automatic registration is recommended in wolf, and implemented in the classes shipped with it using the macro WOLF_REGISTER_PROCESSOR(ProcessorType). You are free to comment out these lines and place them wherever you consider it more convenient for your design.

Creating processors

We finally provide the necessary steps to create a processor of class ProcessorDiffDrive in our application:

#include "core/processor/processor_diff_drive.h" // provides ProcessorDiffDrive
// Note: ProcessorDiffDrive::create() is already registered, automatically.
using namespace wolf;
int main() {
// To create a proc_diff_drive, provide:
// a type = "ProcessorDiffDrive",
// the yaml node or a yaml file (with the name and the parameters), and
// the folders of the schema files to validate them
ProcessorBasePtr proc_diff_drive_1_ptr =
FactoryProcessorNode::create ( "ProcessorDiffDrive", parameter_node, schema_folders );
// A second proc_diff_drive... with a different name specified in the yaml file!
ProcessorBasePtr proc_diff_drive_2_ptr =
FactoryProcessorYaml::create( "ProcessorDiffDrive", yaml_filename, schema_folders );
return 0;
}
static TypeBase create(const std::string &_type, TypeInput... _input)
Creates an object of a type with its registered creator. Throws if no creator is registered.
Definition: factory.h:348
Definition: capture_base.h:23

See also

◆ FactoryProcessorYaml

typedef Factory<ProcessorBasePtr, const std::string&, const std::vector<std::string>&> wolf::FactoryProcessorYaml

◆ FactorySensorFile

typedef Factory<SensorBasePtr, const std::string&, const std::vector<std::string>&> wolf::FactorySensorFile

◆ FactorySensorNode

typedef Factory<SensorBasePtr, const YAML::Node&, const std::vector<std::string>&> wolf::FactorySensorNode

Sensor factories classes.

These factories can create objects of classes deriving from SensorBase.

Specific object creation is invoked by create(TYPE, params ... ), and the TYPE of sensor is identified with a string. Currently, the following sensor types are implemented,

  • "SensorOdom2d" for SensorOdom2d
  • "SensorOdom3d" for SensorOdom3d
  • "SensorDiffDrive" for SensorDiffDrive
  • "SensorCamera" for SensorCamera // in plugin 'vision'
  • "SensorLaser2d" for SensorLaser2d // in plugin 'laser'

among others.

There are two factories, from a YAML file and from a YAML node with the following objectives:

  • The creator from YAML file validates the YAML params before creating the object.
  • The creator from YAML node only validates the YAML params if the _schema_folders vector is not empty.

Validation of YAML params is performed via yaml_schema_cpp library, the schema file (with the name of the class) will be recursively searched in the folders provided in _schema_folders vector.

Find general Factory documentation in class Factory:

  • Access the factory
  • Register/unregister creators
  • Invoke object creation

This documentation shows you how to use the FactorySensorNode specifically:

  • Write sensor creators.
  • Create sensors

Write sensor creators

Sensor creators have the following API:

\code
static SensorBasePtr create(const YAML::Node& _yaml_node,
                            const std::vector<std::string>& _folders_schema);
static SensorBasePtr create(const std::string& _yaml_filepath,
                            const std::vector<std::string>& _folders_schema);
\endcode

They follow the general implementations shown below (example for class SensorCamera)

\code
static SensorBasePtr create(const YAML::Node& _input_node,
                            const std::vector<std::string>& _folders_schema={})
{
    // validate the _input_node if provided folders where to find the schema file
    if (not _folders_schema.empty())
    {
        auto server = yaml_schema_cpp::YamlServer(_folders_schema);
        server.setYaml(_input_node);
        if (not server.applySchema("SensorCamera"))
        {
            WOLF_ERROR(server.getLog());
            return nullptr;
        }
    }
    // Do create the Sensor object
    return std::make_shared<SensorCamera>(params);
}
static SensorBasePtr create(const std::string& _yaml_filepath,
                            const std::vector<std::string>& _folders_schema)
{
    // parse the yaml file
    auto server = yaml_schema_cpp::YamlServer(_folders_schema, _yaml_filepath);
    // Check that the yaml has all necessary information
    if (not server.applySchema("SensorCamera"))
    {
        WOLF_ERROR(server.getLog());
        return nullptr;
    }
    // Do create the Sensor object (calling the previous creator)
    return create(server.getNode(), {});
}
\endcode

Creating sensors

Note: Prior to invoking the creation of a sensor of a particular type, you must register the creator for this type into the factory.

To create e.g. a SensorCamera in 3D, you type:

\code
auto camera_ptr = FactorySensorNode::create("SensorCamera", yaml_node, schema_folders_vector);
\endcode

or:

\code
auto camera_ptr = FactorySensorFile::create("SensorCamera", "path_of_params_file.yaml", schema_folders_vector);
\endcode

where ABSOLUTELY ALL input parameters are important. DO NOT USE IT WITH DUMMY PARAMETERS!

We RECOMMEND using the macro WOLF_SENSOR_CREATE(SensorClass) to automatically generate the sensor creators, provided in 'sensor_base.h'.

To do so, you should implement a constructor with the API:

\code
SensorDerived(const YAML::Node& _params)
\endcode

In case of sensors templated to the dimension of the problem (non-type template), there is also the WOLF_SENSOR_TEMPLATE_DIM_CREATE(SensorDerived, DIM). See sensor_odom.h for an example.

Registering sensor creator into the factory

Registration can be done manually or automatically. It involves the call to static functions. It is advisable to put these calls within unnamed namespaces.

  • Manual registration: you control registration at application level. Put the code either at global scope (you must define a dummy variable for this),
    namespace {
    const bool registered_camera_node = FactorySensorNode::registerCreator("SensorCamera", SensorCamera::create);
    }
    namespace {
    const bool registered_camera_file = FactorySensorFile::registerCreator("SensorCamera", SensorCamera::create);
    }
    main () { ... }
    or inside your main(), where a direct call is possible:
    main () {
    FactorySensorNode::registerCreator("SensorCamera", SensorCamera::create);
    FactorySensorFile::registerCreator("SensorCamera", SensorCamera::create);
    ...
    }
  • Automatic registration: registration is performed at library level. Put the code at the last line of the sensor_xxx.cpp file,
    namespace {
    const bool registered_camera_node = FactorySensorNode::registerCreator("SensorCamera", SensorCamera::create);
    const bool registered_camera_file = FactorySensorFile::registerCreator("SensorCamera", SensorCamera::create);
    }
    Automatic registration is recommended in wolf, and implemented in the classes shipped with it using the macro WOLF_REGISTER_SENSOR(SensorType). You are free to comment out these lines and place them wherever you consider it more convenient for your design.

Creating sensors

We finally provide the necessary steps to create a sensor of class SensorCamera in our application:

#include "vision/sensor/sensor_camera.h" // provides SensorCamera
// Note: SensorCamera::create() is already registered, automatically.
using namespace wolf;
int main() {
// To create a camera, provide:
// a type = "SensorCamera",
// the yaml node or a yaml file (with the name and the parameters), and
// the folders of the schema files to validate them
SensorBasePtr camera_1_ptr =
FactorySensorNode::create ( "SensorCamera",
parameter_node, schema_folders );
// A second camera... with a different name specified in the yaml file!
SensorBasePtr camera_2_ptr =
FactorySensorFile::create( "SensorCamera" ,
yaml_filename, schema_folders );
return 0;
}

See also

◆ FactorySolverFile

typedef Factory<std::shared_ptr<SolverManager>, const ProblemPtr&, const std::string&, const std::vector<std::string>&> wolf::FactorySolverFile

◆ FactorySolverNode

typedef Factory<std::shared_ptr<SolverManager>, const ProblemPtr&, const YAML::Node&, const std::vector<std::string>&> wolf::FactorySolverNode

Solver factory class.

◆ FactoryStateBlock

typedef Factory<std::shared_ptr<StateBlock>, const Eigen::VectorXd&, bool> wolf::FactoryStateBlock

StateBlock factory class.

This factory can create objects of class StateBlock and classes deriving from StateBlock.

Specific object creation is invoked by create(TYPE, state, fixed), and the TYPE of state block is identified with a string. For example, the following state block types are implemented,

Find general Factory documentation in class Factory:

  • Access the factory
  • Register/unregister creators
  • Invoke object creation

This documentation shows you how to use the FactoryStateBlock specifically:

  • Write a state block creator
  • Create state blocks

Write state block creators

StateBlock creators (defined with the macro WOLF_STATE_BLOCK_CREATE) have the following API:

\code
static StateBlockPtr create(const Eigen::VectorXd& _state, bool _fixed);
\endcode

They follow the general implementation shown below:

\code
 static StateBlockPtr create(const Eigen::VectorXd& _state, bool _fixed)
 {
     return std::make_shared<StateBlockDerived>(_state, _fixed);
 }
\endcode

Examples:

To create a StateQuaternion, you type:

\code
auto sq_ptr = FactoryStateBlock::create("StateQuaternion", Vector4d(1,0,0,0), false);
\endcode

To create StateBlocks to store 2D position and velocity, you type:

\code
auto sp2_ptr = FactoryStateBlock::create("StatePoint2d", Vector2d(1,2), false);
auto sv2_ptr = FactoryStateBlock::create("StateVector2d", Vector2d(1,2), false);
\endcode

◆ FactoryStateBlockIdentity

typedef Factory<std::shared_ptr<StateBlock>, bool> wolf::FactoryStateBlockIdentity

◆ FactoryStateBlockIdentityVector

◆ FactoryTreeManagerFile

typedef Factory<std::shared_ptr<TreeManagerBase>, const std::string&, const std::vector<std::string>&> wolf::FactoryTreeManagerFile

◆ FactoryTreeManagerNode

typedef Factory<std::shared_ptr<TreeManagerBase>, const YAML::Node&, const std::vector<std::string>&> wolf::FactoryTreeManagerNode

◆ FeatureMatchMap

typedef std::map<FeatureBasePtr, FeatureMatchPtr> wolf::FeatureMatchMap

Map of feature matches.

corr feature <-----------— actual feature

map<FeatureBasePtr actual_feature, FeatureMatchPtr corresponding_feature_match>

◆ FrameConstPtrMap

typedef std::map<TimeStamp, FrameBaseConstPtr> wolf::FrameConstPtrMap

◆ FramePtrMap

typedef std::map<TimeStamp, FrameBasePtr> wolf::FramePtrMap

◆ Landmark2d

◆ Landmark3d

◆ LandmarkMatchMap

typedef std::map<FeatureBasePtr, LandmarkMatchPtr> wolf::LandmarkMatchMap

◆ LoaderPtr

typedef std::shared_ptr<Loader> wolf::LoaderPtr

◆ LocalParametrizationHomogeneous

Local parametrization for homogeneous vectors is equivalent to quaternion local parametrization.

This is proposed in: https://ieeexplore.ieee.org/document/8594206 (even though we already used it in WOLF before)

◆ LocalParametrizationQuaternionGlobal

◆ LocalParametrizationQuaternionLocal

◆ ManifoldWrapperPtr

using wolf::ManifoldWrapperPtr = typedef std::shared_ptr<ManifoldWrapper>

◆ PriorComposite

◆ ProcessorPose2d

◆ ProcessorPose3d

◆ SensorOdom2d

◆ SensorOdom3d

◆ SensorPose2d

◆ SensorPose3d

◆ SizeEigen

typedef EIGEN_DEFAULT_DENSE_INDEX_TYPE wolf::SizeEigen

Vector and Matrices size type for the Wolf project.

We use the default defined in Eigen (std::ptrdiff_t, a signed integer)

◆ SizeStd

typedef std::size_t wolf::SizeStd

Other containers size type for the Wolf project.

We use the default defined in std (std::size_t, an unsigned integer)

◆ Snapshot

typedef map<SizeStd, FeatureBasePtr> wolf::Snapshot

◆ SnapshotConst

typedef map<SizeStd, FeatureBaseConstPtr> wolf::SnapshotConst

◆ StateKeys

typedef std::string wolf::StateKeys

◆ StateParams1

◆ StateParams10

◆ StateParams11

◆ StateParams12

◆ StateParams13

◆ StateParams14

◆ StateParams15

◆ StateParams16

◆ StateParams17

◆ StateParams18

◆ StateParams19

◆ StateParams2

◆ StateParams20

◆ StateParams3

◆ StateParams4

◆ StateParams5

◆ StateParams6

◆ StateParams7

◆ StateParams8

◆ StateParams9

◆ Track

typedef map<TimeStamp, FeatureBasePtr> wolf::Track

◆ TrackConst

typedef map<TimeStamp, FeatureBaseConstPtr> wolf::TrackConst

◆ TrackMatches

typedef map<SizeStd, pair<FeatureBasePtr, FeatureBasePtr> > wolf::TrackMatches

◆ TrackMatchesConst

typedef map<SizeStd, pair<FeatureBaseConstPtr, FeatureBaseConstPtr> > wolf::TrackMatchesConst

◆ TypeComposite

typedef Composite<std::string> wolf::TypeComposite

Enumeration Type Documentation

◆ FactorStatus

Enumeration of factor status.

You may add items to this list as needed. Be concise with names, and document your entries.

Enumerator
FAC_INACTIVE 

Inactive factor, it is not included in the SLAM problem.

FAC_ACTIVE 

Normal active factor, playing its role in the solution.

◆ FactorTopology

Enumeration of factor topologies.

You may add items to this list as needed. Be concise with names, and document your entries.

Enumerator
TOP_ABS 

Absolute factor.

TOP_MOTION 

Motion factor, e.g. odometry, IMU.

TOP_LOOP 

Loop closure factor.

TOP_LMK 

Landmark observation factor.

TOP_GEOM 

Some geometric relation, e.g. distance.

TOP_OTHER 

Other topologies.

◆ JacobianMethod

Enumeration of jacobian computation method.

You may add items to this list as needed. Be concise with names, and document your entries.

Enumerator
JAC_AUTO 

Automatic differentiation (FactorAutodiff, with jets).

JAC_ANALYTIC 

Analytic Jacobians (FactorAnalytic).

◆ Notification

Type of notification of state blocks and factors to the solver manager.

Enumerator
ADD 

Added to the problem.

REMOVE 

Removed from the problem.

◆ QuaternionDeltaReference

Local or global orientation error.

Local or global orientation error.

This enum controls whether the orientation error is composed locally or globally to an orientation specification.

See LocalParametrizationQuaternion for more information.

Enumerator
DQ_LOCAL 

Local delta: q+ = q * exp_q(dtheta)

DQ_GLOBAL 

Global delta: q+ = exp_q(dtheta) * q.

Function Documentation

◆ between()

template<typename D1 , typename D2 , typename D3 , typename D4 , typename D5 >
void wolf::between ( const Eigen::QuaternionBase< D1 > &  _q1,
const Eigen::QuaternionBase< D2 > &  _q2,
Eigen::QuaternionBase< D3 > &  _q_between,
Eigen::MatrixBase< D4 > &  _J_between_q1,
Eigen::MatrixBase< D5 > &  _J_between_q2 
)
inline

Quaternion between two quaternions q1.conj * q2, with the Jacobians wrt local (right) perturbations.

◆ checkTypeComposite()

void wolf::checkTypeComposite ( const TypeComposite &  _types,
SizeEigen  _dim = 0 
)
inline

Checks the state types of the keys 'P', 'O' and 'V' for the dimension (2 or 3; either of them if 0). Throws if wrong.

◆ compose()

template<typename D1 , typename D2 , typename D3 , typename D4 , typename D5 >
void wolf::compose ( const Eigen::QuaternionBase< D1 > &  _q1,
const Eigen::QuaternionBase< D2 > &  _q2,
Eigen::QuaternionBase< D3 > &  _q_comp,
Eigen::MatrixBase< D4 > &  _J_comp_q1,
Eigen::MatrixBase< D5 > &  _J_comp_q2 
)
inline

Composition of two quaternions q1 * q2, with the Jacobians wrt local (right) perturbations.

◆ computeSqrtUpper()

Eigen::MatrixXd wolf::computeSqrtUpper ( const Eigen::MatrixXd &  _info)
inline

Computes the upper triangular square root R of an information matrix (Ráµ€R = info), with an eigen decomposition (not triangular) if the Cholesky factorization fails.

◆ dateTimeNow()

std::string wolf::dateTimeNow ( )
inline

Returns the current date and time as "dd/mm/YYYY at HH:MM:SS".

◆ diff()

template<typename D1 , typename D2 >
Eigen::Matrix< typename D2::Scalar, 3, 1 > wolf::diff ( const Eigen::QuaternionBase< D1 > &  q1,
const Eigen::QuaternionBase< D2 > &  q2 
)
inline

Difference (right minus): log_q(q1.conj * q2)

◆ e2q()

template<typename D >
Eigen::Quaternion< typename D::Scalar > wolf::e2q ( const Eigen::MatrixBase< D > &  _euler)
inline

Euler angles to quaternion.

Parameters
_euler= (roll pitch yaw) in ZYX convention
Returns
equivalent quaternion

◆ e2R()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > wolf::e2R ( const Eigen::MatrixBase< Derived > &  _e)
inline

Euler angles to rotation matrix.

Parameters
_e= (roll pitch yaw) in ZYX convention
Returns
equivalent rotation matrix

◆ exp_q()

template<typename Derived >
Eigen::Quaternion< typename Derived::Scalar > wolf::exp_q ( const Eigen::MatrixBase< Derived > &  _v)
inline

Quaternion exponential map.

Parameters
_va rotation vector with _v.norm() the rotated angle and _v.normalized() the rotation axis.
Returns
the right-handed unit quaternion performing the rotation encoded by _v

◆ exp_R()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > wolf::exp_R ( const Eigen::MatrixBase< Derived > &  _v)
inline

Rotation matrix exponential map.

Parameters
_va rotation vector
Returns
the rotation matrix performing the rotation encoded by _v

◆ file_exists()

bool wolf::file_exists ( const std::string &  _name)
inline

Returns whether a file exists.

◆ getYaw() [1/2]

template<typename Derived >
Eigen::MatrixBase< Derived >::Scalar wolf::getYaw ( const Eigen::MatrixBase< Derived > &  _M)
inline

Yaw angle of a rotation matrix or of a quaternion given as a 4-vector [x, y, z, w].

◆ getYaw() [2/2]

template<typename Derived >
Eigen::QuaternionBase< Derived >::Scalar wolf::getYaw ( const Eigen::QuaternionBase< Derived > &  _q)
inline

Yaw angle of a quaternion.

◆ gravity()

const Eigen::Vector3d wolf::gravity ( void  )
inline

Returns the gravity vector [0, 0, -9.806] (m/s²)

◆ insertSparseBlock()

void wolf::insertSparseBlock ( const Eigen::MatrixXd &  ins,
Eigen::SparseMatrixd &  original,
const unsigned int &  row,
const unsigned int &  col 
)

◆ inverseProjectTo3d()

Eigen::Isometry3d wolf::inverseProjectTo3d ( const Eigen::Isometry2d &  trf_2d)
inline

Isometry 3d of an isometry 2d: in the plane z = 0, rotating about the z axis.

◆ isCovariance()

template<typename T , int N, int RC>
bool wolf::isCovariance ( const Eigen::Matrix< T, N, N, RC > &  M,
const T &  eps = Constants::EPS 
)
inline

Returns whether a matrix is a covariance: symmetric and positive semi-definite.

◆ isPositiveSemiDefinite()

template<typename T , int N, int RC>
bool wolf::isPositiveSemiDefinite ( const Eigen::Matrix< T, N, N, RC > &  M,
const T &  eps = Constants::EPS 
)
inline

Returns whether all the eigenvalues of a symmetric matrix are greater or equal than eps.

◆ isSymmetric()

template<typename T , int N, int RC>
bool wolf::isSymmetric ( const Eigen::Matrix< T, N, N, RC > &  M,
const T  eps = wolf::Constants::EPS 
)
inline

Returns whether a matrix is square and symmetric (up to eps)

◆ isTypeCompositeValid()

bool wolf::isTypeCompositeValid ( const TypeComposite &  _types,
SizeEigen  _dim = 0 
)
inline

Returns whether the state types of the keys 'P', 'O' and 'V' are valid for the dimension (see checkTypeComposite())

◆ jac_SO3_left()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > wolf::jac_SO3_left ( const Eigen::MatrixBase< Derived > &  _theta)
inline

Computes Jl (Left Jacobian) Left Jacobian for exp map in SO(3) - equation (10.86) and following equations in G.S. Chirikjian, "Stochastic Models, Information Theory, and Lie Groups", Volume 2, 2008.

expmap( theta + d_theta ) \approx expmap(Jl * d_theta) * expmap(theta)

where Jl = jac_SO3_left(theta);

This maps a perturbation in the tangent space (d_theta) to a perturbation on the manifold (expmap(Jl * d_theta)) so that:

exp(theta+d_theta) = exp(Jl(theta)*d_theta)*exp(theta)

◆ jac_SO3_left_inv()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > wolf::jac_SO3_left_inv ( const Eigen::MatrixBase< Derived > &  _theta)
inline

Computes Jl_inv (inverse of Left Jacobian which corresponds to the jacobian of log) Left Jacobian for Log map in SO(3) - equation (10.86) and following equations in G.S. Chirikjian, "Stochastic Models, Information Theory, and Lie Groups", Volume 2, 2008.

logmap( expmap(d_theta) * R ) \approx logmap( R ) + Jlinv * d_theta

where Jlinv = jac_SO3_left_inv(theta);

This maps a perturbation on the manifold (expmap(d_theta)) to a perturbation in the tangent space (Jlinv * d_theta) so that

log( exp(d_theta) * exp(theta) ) = theta + Jlinv(theta) * d_theta

or, having R = exp(theta),

log( exp(d_theta) * R ) = log(R) + Jlinv(theta) * d_theta

◆ jac_SO3_right()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > wolf::jac_SO3_right ( const Eigen::MatrixBase< Derived > &  _theta)
inline

Computes Jr (Right Jacobian) Right Jacobian for exp map in SO(3) - equation (10.86) and following equations in G.S. Chirikjian, "Stochastic Models, Information Theory, and Lie Groups", Volume 2, 2008.

expmap( theta + d_theta ) \approx expmap(theta) * expmap(Jr * d_theta)

where Jr = jac_SO3_right(theta);

This maps a perturbation in the tangent space (d_theta) to a perturbation on the manifold (expmap(Jr * d_theta)) so that:

exp(theta+d_theta) = exp(theta)*exp(Jr(theta)*d_theta)

◆ jac_SO3_right_inv()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > wolf::jac_SO3_right_inv ( const Eigen::MatrixBase< Derived > &  _theta)
inline

Computes Jrinv (inverse of Right Jacobian which corresponds to the jacobian of log) Right Jacobian for Log map in SO(3) - equation (10.86) and following equations in G.S. Chirikjian, "Stochastic Models, Information Theory, and Lie Groups", Volume 2, 2008.

logmap( R * expmap(d_theta) ) \approx logmap( R ) + Jrinv * d_theta
logmap( q * expmap(d_theta) ) \approx logmap( q ) + Jrinv * d_theta

where Jrinv = jac_SO3_right_inv(theta);

This maps a perturbation on the manifold (expmap(d_theta)) to a perturbation in the tangent space (Jrinv * d_theta) so that

log( exp(theta) * exp(d_theta) ) = theta + Jrinv(theta) * d_theta

or, having R = exp(theta),

log( R * exp(d_theta) ) = log(R) + Jrinv(theta) * d_theta

◆ keysIntersection()

StateKeys wolf::keysIntersection ( const StateKeys &  _keys1,
const StateKeys &  _keys2 
)

Intersection of two sets of keys: the keys of _keys1 that are also in _keys2, in the order of _keys1 (no duplicates)

◆ keysUnion()

StateKeys wolf::keysUnion ( const StateKeys &  _keys1,
const StateKeys &  _keys2 
)

Union of two sets of keys: the keys of _keys1 followed by the keys of _keys2 not in _keys1 (no duplicates) Note: 'union' is a C++ keyword.

◆ log_q()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > wolf::log_q ( const Eigen::QuaternionBase< Derived > &  _q)
inline

Quaternion logarithmic map.

Parameters
_qa unit right-handed quaternion
Returns
a rotation vector v such that _q = exp_q(v)

◆ log_R()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > wolf::log_R ( const Eigen::MatrixBase< Derived > &  _R)
inline

Rotation matrix logarithmic map.

Parameters
_Ra 3d rotation matrix
Returns
the rotation vector v such that _R = exp_R(v)

◆ makePosDef()

template<typename T , int N, int RC>
bool wolf::makePosDef ( Eigen::Matrix< T, N, N, RC > &  M,
const T &  eps = Constants::EPS 
)
inline

Makes a symmetric matrix positive definite, raising its eigenvalues below eps. Returns whether it was modified.

◆ minus()

template<typename D1 , typename D2 >
Eigen::Matrix< typename D2::Scalar, 3, 1 > wolf::minus ( const Eigen::QuaternionBase< D1 > &  q1,
const Eigen::QuaternionBase< D2 > &  q2 
)
inline

Minus (right minus): log_q(q1.conj * q2)

◆ minus_left()

template<typename D1 , typename D2 >
Eigen::Matrix< typename D2::Scalar, 3, 1 > wolf::minus_left ( const Eigen::QuaternionBase< D1 > &  q1,
const Eigen::QuaternionBase< D2 > &  q2 
)
inline

Left minus: log_q(q2 * q1.conj)

◆ minus_right()

template<typename D1 , typename D2 >
Eigen::Matrix< typename D2::Scalar, 3, 1 > wolf::minus_right ( const Eigen::QuaternionBase< D1 > &  q1,
const Eigen::QuaternionBase< D2 > &  q2 
)
inline

Right minus: log_q(q1.conj * q2)

◆ operator<<() [1/3]

std::ostream & wolf::operator<< ( std::ostream &  _os,
const wolf::Prior &  _x 
)

◆ operator<<() [2/3]

std::ostream & wolf::operator<< ( std::ostream &  _os,
const wolf::VectorComposite &  _x 
)

◆ operator<<() [3/3]

std::ostream & wolf::operator<< ( std::ostream &  os,
const TimeStamp &  _ts 
)

◆ pi2pi()

template<typename T >
T wolf::pi2pi ( const T &  _angle)
inline

Returns the angle wrapped to [-pi, pi].

This implementation uses remainder(), which is overloaded for autodiff::Jet in math/autodiff/wolf_jet.h

Parameters
_anglethe angle

◆ plus()

template<typename D1 , typename D2 >
Eigen::Quaternion< typename D1::Scalar > wolf::plus ( const Eigen::QuaternionBase< D1 > &  q,
const Eigen::MatrixBase< D2 > &  v 
)
inline

Plus (right plus): q * exp_q(v)

◆ plus_left()

template<typename D1 , typename D2 >
Eigen::Quaternion< typename D1::Scalar > wolf::plus_left ( const Eigen::MatrixBase< D2 > &  v,
const Eigen::QuaternionBase< D1 > &  q 
)
inline

Left plus: exp_q(v) * q.

◆ plus_right()

template<typename D1 , typename D2 >
Eigen::Quaternion< typename D1::Scalar > wolf::plus_right ( const Eigen::QuaternionBase< D1 > &  q,
const Eigen::MatrixBase< D2 > &  v 
)
inline

Right plus: q * exp_q(v)

◆ projectTo2d()

Eigen::Isometry2d wolf::projectTo2d ( const Eigen::Isometry3d &  trf_3d)
inline

Isometry 2d of an isometry 3d: its x, y translation and its yaw.

◆ q2e() [1/2]

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > wolf::q2e ( const Eigen::MatrixBase< Derived > &  _q)
inline

Euler angles (roll, pitch, yaw) of a quaternion given as a 4-vector [x, y, z, w].

◆ q2e() [2/2]

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > wolf::q2e ( const Eigen::QuaternionBase< Derived > &  _q)
inline

Euler angles (roll, pitch, yaw) of a quaternion.

◆ q2R() [1/2]

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > wolf::q2R ( const Eigen::MatrixBase< Derived > &  _q)
inline

Quaternion to rotation matrix conversion.

Parameters
_qa right-handed unit quaternion given as a 4-vector (x, y, z, w)
Returns
the equivalent rotation matrix

◆ q2R() [2/2]

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > wolf::q2R ( const Eigen::QuaternionBase< Derived > &  _q)
inline

Quaternion to rotation matrix conversion.

Parameters
_qa right-handed unit quaternion
Returns
the equivalent rotation matrix

◆ q2v()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > wolf::q2v ( const Eigen::QuaternionBase< Derived > &  _q)
inline

Quaternion to rotation vector conversion.

Parameters
_qa right-handed unit quaternion
Returns
the equivalent rotation vector

◆ R2e()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > wolf::R2e ( const Eigen::MatrixBase< Derived > &  _R)
inline

Euler angles (roll, pitch, yaw) of a rotation matrix.

◆ R2q()

template<typename Derived >
Eigen::Quaternion< typename Derived::Scalar > wolf::R2q ( const Eigen::MatrixBase< Derived > &  _R)
inline

Rotation matrix to quaternion conversion.

Parameters
_Ra rotation matrix
Returns
the equivalent right-handed unit quaternion

◆ R2v()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > wolf::R2v ( const Eigen::MatrixBase< Derived > &  _R)
inline

Rotation matrix to rotation vector conversion.

Parameters
_Ra rotation matrix
Returns
the equivalent rotation vector

◆ secondsSince()

static double wolf::secondsSince ( const std::chrono::steady_clock::time_point &  _t)
static

◆ skew()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > wolf::skew ( const Eigen::MatrixBase< Derived > &  _v)
inline

Skew symmetric matrix.

Parameters
_va 3d vector
Returns
the skew-symmetric matrix V so that V*u = _v.cross(u), for u in R^3

◆ stringPrintf()

static std::string wolf::stringPrintf ( const char *  format,
  ... 
)
static

◆ toDeg()

template<typename T >
T wolf::toDeg ( const T  rad)
inline

Conversion to degrees.

Parameters
radangle in radians
Returns
angle in degrees

◆ toIsometry2d() [1/4]

template<typename D1 >
Eigen::Transform< typename D1::Scalar, 2, Eigen::Isometry > wolf::toIsometry2d ( const Eigen::MatrixBase< D1 > &  translation,
const double &  rotation 
)
inline

Isometry 2d from a translation and an angle.

◆ toIsometry2d() [2/4]

template<typename D1 , typename D2 >
Eigen::Transform< typename D1::Scalar, 2, Eigen::Isometry > wolf::toIsometry2d ( const Eigen::MatrixBase< D1 > &  translation,
const Eigen::MatrixBase< D2 > &  rotation 
)
inline

Isometry 2d from a translation and an angle as a 1-vector.

◆ toIsometry2d() [3/4]

template<typename D1 >
Eigen::Transform< typename D1::Scalar, 2, Eigen::Isometry > wolf::toIsometry2d ( const Eigen::MatrixBase< D1 > &  trf)
inline

Isometry 2d from a pose 3-vector [x, y, theta].

◆ toIsometry2d() [4/4]

Eigen::Isometry2d wolf::toIsometry2d ( const VectorComposite &  trf)
inline

Isometry 2d from a pose VectorComposite with keys 'P' and 'O'.

◆ toIsometry3d() [1/4]

template<typename D1 , typename D2 >
Eigen::Transform< typename D1::Scalar, 3, Eigen::Isometry > wolf::toIsometry3d ( const Eigen::MatrixBase< D1 > &  translation,
const Eigen::MatrixBase< D2 > &  rotation 
)
inline

Isometry 3d from a translation and a quaternion 4-vector [x, y, z, w] (normalized)

◆ toIsometry3d() [2/4]

template<typename D1 , typename D2 >
Eigen::Transform< typename D1::Scalar, 3, Eigen::Isometry > wolf::toIsometry3d ( const Eigen::MatrixBase< D1 > &  translation,
const Eigen::QuaternionBase< D2 > &  rotation 
)
inline

Isometry 3d from a translation and a quaternion.

◆ toIsometry3d() [3/4]

template<typename D1 >
Eigen::Transform< typename D1::Scalar, 3, Eigen::Isometry > wolf::toIsometry3d ( const Eigen::MatrixBase< D1 > &  trf)
inline

Isometry 3d from a pose 7-vector [x, y, z, qx, qy, qz, qw].

◆ toIsometry3d() [4/4]

Eigen::Isometry3d wolf::toIsometry3d ( const VectorComposite &  trf)
inline

Isometry 3d from a pose VectorComposite with keys 'P' and 'O'.

◆ toRad()

template<typename T >
T wolf::toRad ( const T  deg)
inline

Conversion to radians.

Parameters
degangle in degrees
Returns
angle in radians

◆ toVector() [1/2]

Eigen::Vector3d wolf::toVector ( const Eigen::Isometry2d &  trf)
inline

Pose 3-vector [x, y, theta] of an isometry 2d.

◆ toVector() [2/2]

Eigen::Vector7d wolf::toVector ( const Eigen::Isometry3d &  trf)
inline

Pose 7-vector [x, y, z, qx, qy, qz, qw] of an isometry 3d.

◆ v2q()

template<typename Derived >
Eigen::Quaternion< typename Derived::Scalar > wolf::v2q ( const Eigen::MatrixBase< Derived > &  _v)
inline

Rotation vector to quaternion conversion.

Parameters
_va rotation vector
Returns
the equivalent right-handed unit quaternion

◆ v2R()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 3 > wolf::v2R ( const Eigen::MatrixBase< Derived > &  _v)
inline

Rotation vector to rotation matrix conversion.

Parameters
_va rotation vector
Returns
the equivalent rotation matrix

◆ vee()

template<typename Derived >
Eigen::Matrix< typename Derived::Scalar, 3, 1 > wolf::vee ( const Eigen::MatrixBase< Derived > &  _m)
inline

Inverse of skew symmetric matrix.

Parameters
_mA skew-symmetric matrix
Returns
a 3-vector v such that skew(v) = _m

◆ WOLF_DECLARED_PTR_TYPEDEFS() [1/8]

wolf::WOLF_DECLARED_PTR_TYPEDEFS ( Landmark2d  )

◆ WOLF_DECLARED_PTR_TYPEDEFS() [2/8]

wolf::WOLF_DECLARED_PTR_TYPEDEFS ( Landmark3d  )

◆ WOLF_DECLARED_PTR_TYPEDEFS() [3/8]

wolf::WOLF_DECLARED_PTR_TYPEDEFS ( ProcessorPose2d  )

◆ WOLF_DECLARED_PTR_TYPEDEFS() [4/8]

wolf::WOLF_DECLARED_PTR_TYPEDEFS ( ProcessorPose3d  )

◆ WOLF_DECLARED_PTR_TYPEDEFS() [5/8]

wolf::WOLF_DECLARED_PTR_TYPEDEFS ( SensorOdom2d  )

◆ WOLF_DECLARED_PTR_TYPEDEFS() [6/8]

wolf::WOLF_DECLARED_PTR_TYPEDEFS ( SensorOdom3d  )

◆ WOLF_DECLARED_PTR_TYPEDEFS() [7/8]

wolf::WOLF_DECLARED_PTR_TYPEDEFS ( SensorPose2d  )

◆ WOLF_DECLARED_PTR_TYPEDEFS() [8/8]

wolf::WOLF_DECLARED_PTR_TYPEDEFS ( SensorPose3d  )

◆ WOLF_PTR_TYPEDEFS() [1/64]

wolf::WOLF_PTR_TYPEDEFS ( CaptureBase  )

◆ WOLF_PTR_TYPEDEFS() [2/64]

wolf::WOLF_PTR_TYPEDEFS ( CaptureLandmarksExternal  )

◆ WOLF_PTR_TYPEDEFS() [3/64]

wolf::WOLF_PTR_TYPEDEFS ( CaptureMotion  )

◆ WOLF_PTR_TYPEDEFS() [4/64]

wolf::WOLF_PTR_TYPEDEFS ( CaptureOdom2d  )

◆ WOLF_PTR_TYPEDEFS() [5/64]

wolf::WOLF_PTR_TYPEDEFS ( CaptureOdom3d  )

◆ WOLF_PTR_TYPEDEFS() [6/64]

wolf::WOLF_PTR_TYPEDEFS ( CapturePose  )

◆ WOLF_PTR_TYPEDEFS() [7/64]

wolf::WOLF_PTR_TYPEDEFS ( CostFunctionWrapper  )

◆ WOLF_PTR_TYPEDEFS() [8/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorAnalytic  )

◆ WOLF_PTR_TYPEDEFS() [9/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorBase  )

◆ WOLF_PTR_TYPEDEFS() [10/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorBlockAbsolute  )

◆ WOLF_PTR_TYPEDEFS() [11/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorBlockDifference  )

◆ WOLF_PTR_TYPEDEFS() [12/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorDiffDrive  )

◆ WOLF_PTR_TYPEDEFS() [13/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorDistance3d  )

◆ WOLF_PTR_TYPEDEFS() [14/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorHomogeneous3dAbsolute  )

◆ WOLF_PTR_TYPEDEFS() [15/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorPose2d  )

◆ WOLF_PTR_TYPEDEFS() [16/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorPose2dWithExtrinsics  )

◆ WOLF_PTR_TYPEDEFS() [17/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorPose3d  )

◆ WOLF_PTR_TYPEDEFS() [18/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorPose3dWithExtrinsics  )

◆ WOLF_PTR_TYPEDEFS() [19/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorQuaternionAbsolute  )

◆ WOLF_PTR_TYPEDEFS() [20/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorQuaternionDifference  )

◆ WOLF_PTR_TYPEDEFS() [21/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorRelativePose2d  )

◆ WOLF_PTR_TYPEDEFS() [22/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorRelativePose2dWithExtrinsics  )

◆ WOLF_PTR_TYPEDEFS() [23/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorRelativePose3d  )

◆ WOLF_PTR_TYPEDEFS() [24/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorRelativePose3dWithExtrinsics  )

◆ WOLF_PTR_TYPEDEFS() [25/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorRelativePosition2d  )

◆ WOLF_PTR_TYPEDEFS() [26/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorRelativePosition2dWithExtrinsics  )

◆ WOLF_PTR_TYPEDEFS() [27/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorRelativePosition3d  )

◆ WOLF_PTR_TYPEDEFS() [28/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorRelativePosition3dWithExtrinsics  )

◆ WOLF_PTR_TYPEDEFS() [29/64]

wolf::WOLF_PTR_TYPEDEFS ( FactorVelocityLocalDirection3d  )

◆ WOLF_PTR_TYPEDEFS() [30/64]

wolf::WOLF_PTR_TYPEDEFS ( FeatureBase  )

◆ WOLF_PTR_TYPEDEFS() [31/64]

wolf::WOLF_PTR_TYPEDEFS ( FeatureLandmarkExternal  )

◆ WOLF_PTR_TYPEDEFS() [32/64]

wolf::WOLF_PTR_TYPEDEFS ( FeatureMotion  )

◆ WOLF_PTR_TYPEDEFS() [33/64]

wolf::WOLF_PTR_TYPEDEFS ( FrameBase  )

◆ WOLF_PTR_TYPEDEFS() [34/64]

wolf::WOLF_PTR_TYPEDEFS ( HardwareBase  )

◆ WOLF_PTR_TYPEDEFS() [35/64]

wolf::WOLF_PTR_TYPEDEFS ( LandmarkBase  )

◆ WOLF_PTR_TYPEDEFS() [36/64]

wolf::WOLF_PTR_TYPEDEFS ( LocalParametrizationBase  )

◆ WOLF_PTR_TYPEDEFS() [37/64]

wolf::WOLF_PTR_TYPEDEFS ( ManifoldWrapper  )

◆ WOLF_PTR_TYPEDEFS() [38/64]

wolf::WOLF_PTR_TYPEDEFS ( MapBase  )

◆ WOLF_PTR_TYPEDEFS() [39/64]

wolf::WOLF_PTR_TYPEDEFS ( MotionProvider  )

◆ WOLF_PTR_TYPEDEFS() [40/64]

wolf::WOLF_PTR_TYPEDEFS ( NodeBase  )

◆ WOLF_PTR_TYPEDEFS() [41/64]

wolf::WOLF_PTR_TYPEDEFS ( NodeStateBlocks  )

◆ WOLF_PTR_TYPEDEFS() [42/64]

wolf::WOLF_PTR_TYPEDEFS ( Problem  )

◆ WOLF_PTR_TYPEDEFS() [43/64]

wolf::WOLF_PTR_TYPEDEFS ( ProcessorBase  )

◆ WOLF_PTR_TYPEDEFS() [44/64]

wolf::WOLF_PTR_TYPEDEFS ( ProcessorDiffDrive  )

◆ WOLF_PTR_TYPEDEFS() [45/64]

wolf::WOLF_PTR_TYPEDEFS ( ProcessorFixedWingModel  )

◆ WOLF_PTR_TYPEDEFS() [46/64]

wolf::WOLF_PTR_TYPEDEFS ( ProcessorLandmarkExternal  )

◆ WOLF_PTR_TYPEDEFS() [47/64]

wolf::WOLF_PTR_TYPEDEFS ( ProcessorMotion  )

◆ WOLF_PTR_TYPEDEFS() [48/64]

wolf::WOLF_PTR_TYPEDEFS ( ProcessorOdom2d  )

◆ WOLF_PTR_TYPEDEFS() [49/64]

wolf::WOLF_PTR_TYPEDEFS ( ProcessorOdom3d  )

◆ WOLF_PTR_TYPEDEFS() [50/64]

wolf::WOLF_PTR_TYPEDEFS ( ProcessorTracker  )

◆ WOLF_PTR_TYPEDEFS() [51/64]

wolf::WOLF_PTR_TYPEDEFS ( ProcessorTrackerFeature  )

◆ WOLF_PTR_TYPEDEFS() [52/64]

wolf::WOLF_PTR_TYPEDEFS ( ProcessorTrackerLandmark  )

◆ WOLF_PTR_TYPEDEFS() [53/64]

wolf::WOLF_PTR_TYPEDEFS ( SensorBase  )

◆ WOLF_PTR_TYPEDEFS() [54/64]

wolf::WOLF_PTR_TYPEDEFS ( SensorDiffDrive  )

◆ WOLF_PTR_TYPEDEFS() [55/64]

wolf::WOLF_PTR_TYPEDEFS ( SensorMotionModel  )

◆ WOLF_PTR_TYPEDEFS() [56/64]

wolf::WOLF_PTR_TYPEDEFS ( SolverCeres  )

◆ WOLF_PTR_TYPEDEFS() [57/64]

wolf::WOLF_PTR_TYPEDEFS ( SolverEigen  )

◆ WOLF_PTR_TYPEDEFS() [58/64]

wolf::WOLF_PTR_TYPEDEFS ( StateAngle  )

◆ WOLF_PTR_TYPEDEFS() [59/64]

wolf::WOLF_PTR_TYPEDEFS ( StateBlock  )

◆ WOLF_PTR_TYPEDEFS() [60/64]

wolf::WOLF_PTR_TYPEDEFS ( StatePoint2d  )

◆ WOLF_PTR_TYPEDEFS() [61/64]

wolf::WOLF_PTR_TYPEDEFS ( StatePoint3d  )

◆ WOLF_PTR_TYPEDEFS() [62/64]

wolf::WOLF_PTR_TYPEDEFS ( StateQuaternion  )

◆ WOLF_PTR_TYPEDEFS() [63/64]

wolf::WOLF_PTR_TYPEDEFS ( TrajectoryBase  )

◆ WOLF_PTR_TYPEDEFS() [64/64]

wolf::WOLF_PTR_TYPEDEFS ( TreeManagerBase  )

◆ WOLF_REGISTER_FOLDER()

wolf::WOLF_REGISTER_FOLDER ( "core"  ,
_WOLF_SCHEMA_DIR   
)

◆ WOLF_REGISTER_LANDMARK() [1/2]

wolf::WOLF_REGISTER_LANDMARK ( Landmark2d  )

◆ WOLF_REGISTER_LANDMARK() [2/2]

wolf::WOLF_REGISTER_LANDMARK ( Landmark3d  )

◆ WOLF_REGISTER_MAP()

wolf::WOLF_REGISTER_MAP ( MapBase  )

◆ WOLF_REGISTER_PROCESSOR() [1/6]

wolf::WOLF_REGISTER_PROCESSOR ( ProcessorDiffDrive  )

◆ WOLF_REGISTER_PROCESSOR() [2/6]

wolf::WOLF_REGISTER_PROCESSOR ( ProcessorFixedWingModel  )

◆ WOLF_REGISTER_PROCESSOR() [3/6]

wolf::WOLF_REGISTER_PROCESSOR ( ProcessorOdom2d  )

◆ WOLF_REGISTER_PROCESSOR() [4/6]

wolf::WOLF_REGISTER_PROCESSOR ( ProcessorOdom3d  )

◆ WOLF_REGISTER_PROCESSOR() [5/6]

wolf::WOLF_REGISTER_PROCESSOR ( ProcessorPose2d  )

◆ WOLF_REGISTER_PROCESSOR() [6/6]

wolf::WOLF_REGISTER_PROCESSOR ( ProcessorPose3d  )

◆ WOLF_REGISTER_SENSOR() [1/6]

wolf::WOLF_REGISTER_SENSOR ( SensorDiffDrive  )

◆ WOLF_REGISTER_SENSOR() [2/6]

wolf::WOLF_REGISTER_SENSOR ( SensorMotionModel  )

◆ WOLF_REGISTER_SENSOR() [3/6]

wolf::WOLF_REGISTER_SENSOR ( SensorOdom2d  )

◆ WOLF_REGISTER_SENSOR() [4/6]

wolf::WOLF_REGISTER_SENSOR ( SensorOdom3d  )

◆ WOLF_REGISTER_SENSOR() [5/6]

wolf::WOLF_REGISTER_SENSOR ( SensorPose2d  )

◆ WOLF_REGISTER_SENSOR() [6/6]

wolf::WOLF_REGISTER_SENSOR ( SensorPose3d  )

◆ WOLF_REGISTER_STATEBLOCK() [1/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateAngle  )

◆ WOLF_REGISTER_STATEBLOCK() [2/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateHomogeneous3d  )

◆ WOLF_REGISTER_STATEBLOCK() [3/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams1  )

◆ WOLF_REGISTER_STATEBLOCK() [4/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams10  )

◆ WOLF_REGISTER_STATEBLOCK() [5/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams11  )

◆ WOLF_REGISTER_STATEBLOCK() [6/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams12  )

◆ WOLF_REGISTER_STATEBLOCK() [7/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams13  )

◆ WOLF_REGISTER_STATEBLOCK() [8/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams14  )

◆ WOLF_REGISTER_STATEBLOCK() [9/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams15  )

◆ WOLF_REGISTER_STATEBLOCK() [10/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams16  )

◆ WOLF_REGISTER_STATEBLOCK() [11/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams17  )

◆ WOLF_REGISTER_STATEBLOCK() [12/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams18  )

◆ WOLF_REGISTER_STATEBLOCK() [13/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams19  )

◆ WOLF_REGISTER_STATEBLOCK() [14/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams2  )

◆ WOLF_REGISTER_STATEBLOCK() [15/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams20  )

◆ WOLF_REGISTER_STATEBLOCK() [16/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams3  )

◆ WOLF_REGISTER_STATEBLOCK() [17/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams4  )

◆ WOLF_REGISTER_STATEBLOCK() [18/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams5  )

◆ WOLF_REGISTER_STATEBLOCK() [19/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams6  )

◆ WOLF_REGISTER_STATEBLOCK() [20/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams7  )

◆ WOLF_REGISTER_STATEBLOCK() [21/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams8  )

◆ WOLF_REGISTER_STATEBLOCK() [22/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateParams9  )

◆ WOLF_REGISTER_STATEBLOCK() [23/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StatePoint2d  )

◆ WOLF_REGISTER_STATEBLOCK() [24/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StatePoint3d  )

◆ WOLF_REGISTER_STATEBLOCK() [25/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateQuaternion  )

◆ WOLF_REGISTER_STATEBLOCK() [26/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateVector2d  )

◆ WOLF_REGISTER_STATEBLOCK() [27/27]

wolf::WOLF_REGISTER_STATEBLOCK ( StateVector3d  )

◆ WOLF_REGISTER_TREE_MANAGER() [1/2]

wolf::WOLF_REGISTER_TREE_MANAGER ( TreeManagerSlidingWindow  )

◆ WOLF_REGISTER_TREE_MANAGER() [2/2]

wolf::WOLF_REGISTER_TREE_MANAGER ( TreeManagerSlidingWindowDualRate  )

◆ WOLF_STRUCT_PTR_TYPEDEFS() [1/3]

wolf::WOLF_STRUCT_PTR_TYPEDEFS ( FeatureMatch  )

◆ WOLF_STRUCT_PTR_TYPEDEFS() [2/3]

wolf::WOLF_STRUCT_PTR_TYPEDEFS ( LandmarkMatch  )

◆ WOLF_STRUCT_PTR_TYPEDEFS() [3/3]

wolf::WOLF_STRUCT_PTR_TYPEDEFS ( MatchLoopClosure  )

Variable Documentation

◆ ALL_KEYS

std::string wolf::ALL_KEYS = " "
static

◆ cauchy_a2

constexpr double wolf::cauchy_a2 = 0.5 * 0.5
staticconstexpr

◆ max_step_halvings

constexpr unsigned int wolf::max_step_halvings = 10
staticconstexpr

◆ NO_ROW

constexpr unsigned int wolf::NO_ROW = std::numeric_limits<unsigned int>::max()
staticconstexpr